
// 常量定义
const themeColor = "#2979ff";
const defaultUnit = "吨";
// 获取空表单
const getEmptyForm = () => {
  return {
    date: "",
    material_name: "", // 建材名称
    vehicle_number: "",
    delivery_destination: "",
    customer_name: "",
    customer_phone: "",
    product_spec: "",
    unit: defaultUnit,
    quantity: "",
    unit_price: "", // 改为与数据库字段对应
    cost_price: "", // 改为与数据库字段对应
    amount: "", // 总金额
    payable_amount: 0, // 应付金额
    paid_amount: 0, // 已付金额
    net_profit: "",
    status: 0, // 0: 未付款, 1: 部分付款, 2: 已付清
    isDel: 0,
  };
};


export {

	getEmptyForm,
	themeColor,
	defaultUnit
}
